<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('培训师评价表详情')" />
	<th:block th:include="include :: businessCSS" />
	<style type="text/css">
	.layui-form-selectup dl{bottom:auto}
	.layui-form-checkbox{margin:0}
	</style>
</head>
<body class="no-skin">
<div class="main-container" id="main-container">
	<div class="main-content">
	<form class="layui-form head-form" id="form">
		<input type="hidden" id="guid" name="guid" th:value="${businessData?.guid}">
		<input type="hidden" id="vPjZt" name="vPjZt" th:value="${businessData?.vPjZt}">
	    <div class="north">
			<!-- 静态表格 -->
		    <div style="margin:10px">
			  	<table class="layui-table" lay-size="sm">
			    <colgroup>
<!-- 			      <col width="10%"> -->
<!-- 			      <col width="15%"> -->
<!-- 			      <col width="10%"> -->
<!-- 			      <col width="15%"> -->
			    </colgroup>
				<thead>
			      <tr>
			        <th colspan="8">培训师评价表</th>
			      </tr> 
			    </thead>
			    <tbody>
		    	  <tr>
			        <td class="table-title"><font class="f_red">*</font>培训师姓名</td>
			        <td class="canntEdit" th:text="${businessData?.pUserName}"></td>
			        <td class="table-title"><font class="f_red">*</font>评分者姓名</td>
			        <td class="canntEdit" th:text="${businessData?.cUserName}"></td>
			      </tr>
			      <tr>
			        <td class="table-title"><font class="f_red">*</font>课程名称</td>
			        <td class="canntEdit" th:text="${businessData?.vKcMc}"></td>
			        <td class="table-title"><font class="f_red">*</font>开课时间</td>
			        <td class="canntEdit" th:text="${#dates.format(businessData?.dPxSj, 'yyyy-MM-dd HH:mm:ss')}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title">考核指标</td>
			        <td class="table-title">量化标准</td>
			        <td class="table-title"><font class="f_red">*</font>评分标准(1-5分)</td>
			        <td class="table-title">评分依据</td>
			      </tr>
		    	  <tr>
			        <td class="table-title" rowspan='4'>个人形象<p>（总分20分）</p></td>
			        <td class="table-title text_l">礼貌礼仪/精神面貌</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fGrXx1" title="1" value="1" th:checked="${businessData?.fGrXx1 eq 1}">
			        	<input type="checkbox" name="fGrXx1" title="2" value="2" th:checked="${businessData?.fGrXx1 eq 2}">
			        	<input type="checkbox" name="fGrXx1" title="3" value="3" th:checked="${businessData?.fGrXx1 eq 3}">
			        	<input type="checkbox" name="fGrXx1" title="4" value="4" th:checked="${businessData?.fGrXx1 eq 4}">
			        	<input type="checkbox" name="fGrXx1" title="5" value="5" th:checked="${businessData?.fGrXx1 eq 5}">
		        	</td>
			        <td><input type="text" name="vGrXx1" autocomplete="off" class="layui-input" th:value="${businessData?.vGrXx1}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">仪容仪表</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fGrXx2" title="1" value="1" th:checked="${businessData?.fGrXx2 eq 1}">
			        	<input type="checkbox" name="fGrXx2" title="2" value="2" th:checked="${businessData?.fGrXx2 eq 2}">
			        	<input type="checkbox" name="fGrXx2" title="3" value="3" th:checked="${businessData?.fGrXx2 eq 3}">
			        	<input type="checkbox" name="fGrXx2" title="4" value="4" th:checked="${businessData?.fGrXx2 eq 4}">
			        	<input type="checkbox" name="fGrXx2" title="5" value="5" th:checked="${businessData?.fGrXx2 eq 5}">
			        </td>
			        <td><input type="text" name="vGrXx2" autocomplete="off" class="layui-input" th:value="${businessData?.vGrXx2}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">气质修养</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fGrXx3" title="1" value="1" th:checked="${businessData?.fGrXx3 eq 1}">
			        	<input type="checkbox" name="fGrXx3" title="2" value="2" th:checked="${businessData?.fGrXx3 eq 2}">
			        	<input type="checkbox" name="fGrXx3" title="3" value="3" th:checked="${businessData?.fGrXx3 eq 3}">
			        	<input type="checkbox" name="fGrXx3" title="4" value="4" th:checked="${businessData?.fGrXx3 eq 4}">
			        	<input type="checkbox" name="fGrXx3" title="5" value="5" th:checked="${businessData?.fGrXx3 eq 5}">
			        </td>
			        <td><input type="text" name="vGrXx3" autocomplete="off" class="layui-input" th:value="${businessData?.vGrXx3}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">个人亲和力</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fGrXx4" title="1" value="1" th:checked="${businessData?.fGrXx4 eq 1}">
			        	<input type="checkbox" name="fGrXx4" title="2" value="2" th:checked="${businessData?.fGrXx4 eq 2}">
			        	<input type="checkbox" name="fGrXx4" title="3" value="3" th:checked="${businessData?.fGrXx4 eq 3}">
			        	<input type="checkbox" name="fGrXx4" title="4" value="4" th:checked="${businessData?.fGrXx4 eq 4}">
			        	<input type="checkbox" name="fGrXx4" title="5" value="5" th:checked="${businessData?.fGrXx4 eq 5}">
			        </td>
			        <td><input type="text" name="vGrXx4" autocomplete="off" class="layui-input" th:value="${businessData?.vGrXx4}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title" rowspan='8'>授课表现<p>（总分40分）</p></td>
			        <td class="table-title text_l">紧扣培训目标</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx1" title="1" value="1" th:checked="${businessData?.fSkBx1 eq 1}">
			        	<input type="checkbox" name="fSkBx1" title="2" value="2" th:checked="${businessData?.fSkBx1 eq 2}">
			        	<input type="checkbox" name="fSkBx1" title="3" value="3" th:checked="${businessData?.fSkBx1 eq 3}">
			        	<input type="checkbox" name="fSkBx1" title="4" value="4" th:checked="${businessData?.fSkBx1 eq 4}">
			        	<input type="checkbox" name="fSkBx1" title="5" value="5" th:checked="${businessData?.fSkBx1 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx1" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx1}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">具备足够主题专业知识</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx2" title="1" value="1" th:checked="${businessData?.fSkBx2 eq 1}">
			        	<input type="checkbox" name="fSkBx2" title="2" value="2" th:checked="${businessData?.fSkBx2 eq 2}">
			        	<input type="checkbox" name="fSkBx2" title="3" value="3" th:checked="${businessData?.fSkBx2 eq 3}">
			        	<input type="checkbox" name="fSkBx2" title="4" value="4" th:checked="${businessData?.fSkBx2 eq 4}">
			        	<input type="checkbox" name="fSkBx2" title="5" value="5" th:checked="${businessData?.fSkBx2 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx2" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx2}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">准备充分、技巧成熟</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx3" title="1" value="1" th:checked="${businessData?.fSkBx3 eq 1}">
			        	<input type="checkbox" name="fSkBx3" title="2" value="2" th:checked="${businessData?.fSkBx3 eq 2}">
			        	<input type="checkbox" name="fSkBx3" title="3" value="3" th:checked="${businessData?.fSkBx3 eq 3}">
			        	<input type="checkbox" name="fSkBx3" title="4" value="4" th:checked="${businessData?.fSkBx3 eq 4}">
			        	<input type="checkbox" name="fSkBx3" title="5" value="5" th:checked="${businessData?.fSkBx3 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx3" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx3}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">讲课内容有组织计划</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx4" title="1" value="1" th:checked="${businessData?.fSkBx4 eq 1}">
			        	<input type="checkbox" name="fSkBx4" title="2" value="2" th:checked="${businessData?.fSkBx4 eq 2}">
			        	<input type="checkbox" name="fSkBx4" title="3" value="3" th:checked="${businessData?.fSkBx4 eq 3}">
			        	<input type="checkbox" name="fSkBx4" title="4" value="4" th:checked="${businessData?.fSkBx4 eq 4}">
			        	<input type="checkbox" name="fSkBx4" title="5" value="5" th:checked="${businessData?.fSkBx4 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx4" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx4}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">讲解问题时重点突出</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx5" title="1" value="1" th:checked="${businessData?.fSkBx5 eq 1}">
			        	<input type="checkbox" name="fSkBx5" title="2" value="2" th:checked="${businessData?.fSkBx5 eq 2}">
			        	<input type="checkbox" name="fSkBx5" title="3" value="3" th:checked="${businessData?.fSkBx5 eq 3}">
			        	<input type="checkbox" name="fSkBx5" title="4" value="4" th:checked="${businessData?.fSkBx5 eq 4}">
			        	<input type="checkbox" name="fSkBx5" title="5" value="5" th:checked="${businessData?.fSkBx5 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx5" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx5}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">具有案例分析能力，鼓励学员参与</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx6" title="1" value="1" th:checked="${businessData?.fSkBx6 eq 1}">
			        	<input type="checkbox" name="fSkBx6" title="2" value="2" th:checked="${businessData?.fSkBx6 eq 2}">
			        	<input type="checkbox" name="fSkBx6" title="3" value="3" th:checked="${businessData?.fSkBx6 eq 3}">
			        	<input type="checkbox" name="fSkBx6" title="4" value="4" th:checked="${businessData?.fSkBx6 eq 4}">
			        	<input type="checkbox" name="fSkBx6" title="5" value="5" th:checked="${businessData?.fSkBx6 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx6" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx6}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">课堂中引进更多的知识和信息</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx7" title="1" value="1" th:checked="${businessData?.fSkBx7 eq 1}">
			        	<input type="checkbox" name="fSkBx7" title="2" value="2" th:checked="${businessData?.fSkBx7 eq 2}">
			        	<input type="checkbox" name="fSkBx7" title="3" value="3" th:checked="${businessData?.fSkBx7 eq 3}">
			        	<input type="checkbox" name="fSkBx7" title="4" value="4" th:checked="${businessData?.fSkBx7 eq 4}">
			        	<input type="checkbox" name="fSkBx7" title="5" value="5" th:checked="${businessData?.fSkBx7 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx7" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx7}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">课堂的互动，有效鼓励学员完成课程和目标</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fSkBx8" title="1" value="1" th:checked="${businessData?.fSkBx8 eq 1}">
			        	<input type="checkbox" name="fSkBx8" title="2" value="2" th:checked="${businessData?.fSkBx8 eq 2}">
			        	<input type="checkbox" name="fSkBx8" title="3" value="3" th:checked="${businessData?.fSkBx8 eq 3}">
			        	<input type="checkbox" name="fSkBx8" title="4" value="4" th:checked="${businessData?.fSkBx8 eq 4}">
			        	<input type="checkbox" name="fSkBx8" title="5" value="5" th:checked="${businessData?.fSkBx8 eq 5}">
		        	</td>
			        <td><input type="text" name="vSkBx8" autocomplete="off" class="layui-input" th:value="${businessData?.vSkBx8}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title" rowspan='4'>课件评估<p>（总分20分）</p></td>
			        <td class="table-title text_l">课件内容条理分明</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fKjPj1" title="1" value="1" th:checked="${businessData?.fKjPj1 eq 1}">
			        	<input type="checkbox" name="fKjPj1" title="2" value="2" th:checked="${businessData?.fKjPj1 eq 2}">
			        	<input type="checkbox" name="fKjPj1" title="3" value="3" th:checked="${businessData?.fKjPj1 eq 3}">
			        	<input type="checkbox" name="fKjPj1" title="4" value="4" th:checked="${businessData?.fKjPj1 eq 4}">
			        	<input type="checkbox" name="fKjPj1" title="5" value="5" th:checked="${businessData?.fKjPj1 eq 5}">
					</td>
			        <td><input type="text" name="vKjPj1" autocomplete="off" class="layui-input" th:value="${businessData?.vKjPj1}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">课件内容理论联系实际</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fKjPj2" title="1" value="1" th:checked="${businessData?.fKjPj2 eq 1}">
			        	<input type="checkbox" name="fKjPj2" title="2" value="2" th:checked="${businessData?.fKjPj2 eq 2}">
			        	<input type="checkbox" name="fKjPj2" title="3" value="3" th:checked="${businessData?.fKjPj2 eq 3}">
			        	<input type="checkbox" name="fKjPj2" title="4" value="4" th:checked="${businessData?.fKjPj2 eq 4}">
			        	<input type="checkbox" name="fKjPj2" title="5" value="5" th:checked="${businessData?.fKjPj2 eq 5}">
		        	</td>
			        <td><input type="text" name="vKjPj2" autocomplete="off" class="layui-input" th:value="${businessData?.vKjPj2}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">提供案例分析并有效的与讲义内容相结合</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fKjPj3" title="1" value="1" th:checked="${businessData?.fKjPj3 eq 1}">
			        	<input type="checkbox" name="fKjPj3" title="2" value="2" th:checked="${businessData?.fKjPj3 eq 2}">
			        	<input type="checkbox" name="fKjPj3" title="3" value="3" th:checked="${businessData?.fKjPj3 eq 3}">
			        	<input type="checkbox" name="fKjPj3" title="4" value="4" th:checked="${businessData?.fKjPj3 eq 4}">
			        	<input type="checkbox" name="fKjPj3" title="5" value="5" th:checked="${businessData?.fKjPj3 eq 5}">
		        	</td>
			        <td><input type="text" name="vKjPj3" autocomplete="off" class="layui-input" th:value="${businessData?.vKjPj3}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">课件视觉效果</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fKjPj4" title="1" value="1" th:checked="${businessData?.fKjPj4 eq 1}">
			        	<input type="checkbox" name="fKjPj4" title="2" value="2" th:checked="${businessData?.fKjPj4 eq 2}">
			        	<input type="checkbox" name="fKjPj4" title="3" value="3" th:checked="${businessData?.fKjPj4 eq 3}">
			        	<input type="checkbox" name="fKjPj4" title="4" value="4" th:checked="${businessData?.fKjPj4 eq 4}">
			        	<input type="checkbox" name="fKjPj4" title="5" value="5" th:checked="${businessData?.fKjPj4 eq 5}">
		        	</td>
			        <td><input type="text" name="vKjPj4" autocomplete="off" class="layui-input" th:value="${businessData?.vKjPj4}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title" rowspan='4'>综合评价<p>（总分20分）</p></td>
			        <td class="table-title text_l">讲师逻辑性强</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fZhPj1" title="1" value="1" th:checked="${businessData?.fZhPj1 eq 1}">
			        	<input type="checkbox" name="fZhPj1" title="2" value="2" th:checked="${businessData?.fZhPj1 eq 2}">
			        	<input type="checkbox" name="fZhPj1" title="3" value="3" th:checked="${businessData?.fZhPj1 eq 3}">
			        	<input type="checkbox" name="fZhPj1" title="4" value="4" th:checked="${businessData?.fZhPj1 eq 4}">
			        	<input type="checkbox" name="fZhPj1" title="5" value="5" th:checked="${businessData?.fZhPj1 eq 5}">
			  		</td>
			        <td><input type="text" name="vZhPj1" autocomplete="off" class="layui-input" th:value="${businessData?.vZhPj1}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">实战性、可操作性强</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fZhPj2" title="1" value="1" th:checked="${businessData?.fZhPj2 eq 1}">
			        	<input type="checkbox" name="fZhPj2" title="2" value="2" th:checked="${businessData?.fZhPj2 eq 2}">
			        	<input type="checkbox" name="fZhPj2" title="3" value="3" th:checked="${businessData?.fZhPj2 eq 3}">
			        	<input type="checkbox" name="fZhPj2" title="4" value="4" th:checked="${businessData?.fZhPj2 eq 4}">
			        	<input type="checkbox" name="fZhPj2" title="5" value="5" th:checked="${businessData?.fZhPj2 eq 5}">
		        	</td>
			        <td><input type="text" name="vZhPj2" autocomplete="off" class="layui-input" th:value="${businessData?.vZhPj2}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">现场互动性强</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fZhPj3" title="1" value="1" th:checked="${businessData?.fZhPj3 eq 1}">
			        	<input type="checkbox" name="fZhPj3" title="2" value="2" th:checked="${businessData?.fZhPj3 eq 2}">
			        	<input type="checkbox" name="fZhPj3" title="3" value="3" th:checked="${businessData?.fZhPj3 eq 3}">
			        	<input type="checkbox" name="fZhPj3" title="4" value="4" th:checked="${businessData?.fZhPj3 eq 4}">
			        	<input type="checkbox" name="fZhPj3" title="5" value="5" th:checked="${businessData?.fZhPj3 eq 5}">
					</td>
			        <td><input type="text" name="vZhPj3" autocomplete="off" class="layui-input" th:value="${businessData?.vZhPj3}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title text_l">丰富的理论知识</td>
			        <td class="text_c">
			        	<input type="checkbox" name="fZhPj4" title="1" value="1" th:checked="${businessData?.fZhPj4 eq 1}">
			        	<input type="checkbox" name="fZhPj4" title="2" value="2" th:checked="${businessData?.fZhPj4 eq 2}">
			        	<input type="checkbox" name="fZhPj4" title="3" value="3" th:checked="${businessData?.fZhPj4 eq 3}">
			        	<input type="checkbox" name="fZhPj4" title="4" value="4" th:checked="${businessData?.fZhPj4 eq 4}">
			        	<input type="checkbox" name="fZhPj4" title="5" value="5" th:checked="${businessData?.fZhPj4 eq 5}">
		        	</td>
			        <td><input type="text" name="vZhPj4" autocomplete="off" class="layui-input" th:value="${businessData?.vZhPj4}"></td>
			      </tr>
		    	  <tr>
			        <td class="table-title"><font class="f_red">*</font>总体评价</td>
			        <td th:if="${businessData?.vPjZt ne '已评'}">
			        	<select id="vZtPj" name="vZtPj" lay-verify="required" th:value="${businessData?.vZtPj}">
							<option></option>
							<option value="优秀"  th:selected="${businessData?.vZtPj eq '优秀'}">优秀</option>
							<option value="良好"  th:selected="${businessData?.vZtPj eq '良好'}">良好</option>
							<option value="一般"  th:selected="${businessData?.vZtPj eq '一般'}">一般</option>
							<option value="较差"  th:selected="${businessData?.vZtPj eq '较差'}">较差</option>
			      		</select>
			        </td>
			        <td th:if="${businessData?.vPjZt eq '已评'}" th:text="${businessData?.vZtPj}" class="canntEdit"></td>
			        <td class="table-title">总分</td>
			        <td><input type="text" id="fZPf" name="fZPf" class="layui-input table-title" placeholder="由系统汇总" th:value="${businessData?.fZPf}" readonly></td>
			      </tr>
		    	  <tr>
			        <td class="table-title"><font class="f_red">*</font>本次课程收获</td>
			        <td colspan="3"><input type="text" id="vBcSh" name="vBcSh" lay-verify="required" autocomplete="off" class="layui-input" placeholder="必填" th:value="${businessData?.vBcSh}"></td>
			      </tr>
			      <tr>
			        <td class="table-title"><font class="f_red">*</font>对后期培训课程的建议</td>
			        <td colspan="3"><input type="text" id="vKcJy" name="vKcJy" lay-verify="required" autocomplete="off" class="layui-input" placeholder="必填" th:value="${businessData?.vKcJy}"></td>
			      </tr>
			      <tr>
			        <td class="table-title">下次期待参加的课程</td>
			        <td colspan="2" class="text_c">
			        	<input type="radio" name="vQdKc" value="产品知识" title="产品知识">
			        	<input type="radio" name="vQdKc" value="行业应用案例" title="行业应用案例" th:checked="${#strings.containsIgnoreCase(businessData?.vQdKc,'行业应用案例')}">
			        	<input type="radio" name="vQdKc" value="销售技巧" title="销售技巧" th:checked="${#strings.containsIgnoreCase(businessData?.vQdKc,'销售技巧')}">
			        	<input type="radio" name="vQdKc" value="其他 " title="其他 " th:checked="${#strings.containsIgnoreCase(businessData?.vQdKc,'其他')}">
			        </td>
			        <td>
			        	<input type="text" id="vQdKc2" name="vQdKc2" placeholder="其他" autocomplete="off" class="layui-input" th:value="${businessData?.vQdKc2}">
			        </td>
			      </tr>
		      	</tbody>
			  </table>
		  	</div>
    	</div>
	    <div class="layui-hide">
	        <input type="button" lay-submit="" lay-filter="btn_save" id="btn_save" value="保存">
	    </div>
    </form>
	</div>
</div>
<th:block th:include="include :: footer" />
<script th:inline="javascript">
	/*<![CDATA[*/
	var pageType = [[${pageType}]],
		businessData = [[${businessData}]];
	/*]]>*/
</script>
<script type="text/javascript">
var $,layer,form,laydate,element;//定义layui模块
layui.use(['laydate','form','layer','jquery','util','element'], function () {
 	$ = layui.$,layer = layui.layer,form = layui.form,laydate = layui.laydate,util = layui.util,element=layui.element;
 	if($('#vPjZt').val()=='待评')$('#fZPf').val(0);//初始页面默认总分赋值100
 	if($('#vPjZt').val()=='已评'){
 		$('table input').attr('readonly','readonly');
		$('table .canntEdit').removeClass('canntEdit');
 	 	$("input[type='checkbox']").attr('disabled','disabled');
 	 	$("input[type='radio']").attr('disabled','disabled');
 	}
 	element.render();
 	form.render();
	form.on('checkbox', function (obj) {
		$("input[type='checkbox'][name="+obj.elem.name+"]").prop("checked", "");
		$(this).prop("checked", "checked");
		form.render('checkbox');
		var sum_score=0;
		$.each($("input[type='checkbox']"),function(i,v){//重新计算总分
			if(v.checked)sum_score+=Number(v.value);
		})
		$('#fZPf').val(sum_score);
	})
	form.on('radio',function(obj){//监听下次期待参加课程，非选择‘其他’时，清空‘其他’输入框
		if(obj.value !='其他')$('#vQdKc2').val('');
	})
})
function btn1(){//保存
	var checkFlag=true,
		rFlag=true;
	$.each($('[type="checkbox"]'),function(i,v){
		if(!$('[type="checkbox"][name='+v.name+']:checked').val())checkFlag=false;
	})
	form.on('submit(btn_save)', function(data){
		$.operate.post('/hr/trainingappraiselecturer/bccgpost',{infoItems:JSON.stringify([data.field])},function(res){
			if(res.code!=0){
				$.modal.msgError(res.msg,{icon:2});
				rFlag=false;
			}
		},false);
	});
	if(checkFlag)$('#btn_save').click();
	else $.modal.msgError("评分标准不能放空！");
	return rFlag;
}
function btn2(){//提交
	var checkFlag=true,
		rFlag=true;
	$.each($('[type="checkbox"]'),function(i,v){
		if(!$('[type="checkbox"][name='+v.name+']:checked').val())checkFlag=false;
	})
	form.on('submit(btn_save)', function(data){
		$.operate.post('/hr/trainingappraiselecturer/tjpjpost',{infoItems:JSON.stringify([data.field])},function(res){
			if(res.code!=0){
				$.modal.msgError(res.msg,{icon:2});
				rFlag=false;
			}
		},false);
	});
	if(checkFlag)$('#btn_save').click();
	else $.modal.msgError("评分标准不能放空！");
	return rFlag;
}
$('#vQdKc2').focus(function(){//勾选同name最后一个单选框——其他
	$("input[name=vQdKc]").last().click();
 	form.render();
})
</script>
</body>
</html>